import React,{ Component } from "react";
class Home extends Component {
  constructor(props){
    super(props)
    this.state = { msg : "hello"}
  }

  render(){
    return (
      <div>
        home组件
        {this.state.msg}
      </div>
    )
  }
}

export default Home